package com.APIObject.T1;

public class Test {
    public static void main(String[] args) {
        Student s1=new Student("赵敏",20);
        System.out.println(s1);
        Student s2=new Student("赵敏",20);
        System.out.println(s2.equals(s1));//比较低值是否相等//需要重写方法比较内容是否相同
        System.out.println(s1==s2);//比较地址是否相同
    }
}
